<commit_before>package admin

// FirebaseApp type
type FirebaseApp struct {
	projectID string
}

type options struct {
	ProjectID string
}

// Option func
type Option func(*options)

// InitializeApp initializes firebase app
func InitializeApp(opts ...Option) (*FirebaseApp, error) {
	opt := &options{}
	for _, setter := range opts {
		setter(opt)
	}

	app := FirebaseApp{
		projectID: opt.ProjectID,
	}

	return &app, nil
}

// ProjectID sets project id to options
func ProjectID(projectID string) Option {
	return func(arg *options) {
		arg.ProjectID = projectID
	}
}

// Auth creates new FirebaseAuth instance
func (app *FirebaseApp) Auth() *FirebaseAuth {
	return newFirebaseAuth(app)
}
<commit_msg>Add options<commit_after>package admin

// FirebaseApp type
type FirebaseApp struct {
	projectID string
}

type options struct {
	ProjectID      string
	ServiceAccount []byte
	DatabaseURL    string
}

// OptionFunc type
type OptionFunc func(*options)

// InitializeApp initializes firebase app
func InitializeApp(opts ...OptionFunc) (*FirebaseApp, error) {
	opt := &options{}
	for _, setter := range opts {
		setter(opt)
	}

	app := FirebaseApp{
		projectID: opt.ProjectID,
	}

	return &app, nil
}

// ProjectID sets project id to options
func ProjectID(projectID string) OptionFunc {
	return func(arg *options) {
		arg.ProjectID = projectID
	}
}

// ServiceAccount sets service account to options
func ServiceAccount(serviceAccount []byte) OptionFunc {
	return func(arg *options) {
		arg.ServiceAccount = serviceAccount
	}
}

// DatabaseURL sets database url to options
func DatabaseURL(url string) OptionFunc {
	return func(arg *options) {
		arg.DatabaseURL = url
	}
}

// Auth creates new FirebaseAuth instance
func (app *FirebaseApp) Auth() *FirebaseAuth {
	return newFirebaseAuth(app)
}

{'fraction_non_alphanumeric': 0.09805013927576602, 'fraction_numerical': 0.0, 'mean_word_length': 4.251461988304094, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5402551', 'n_tokens_mistral': 570, 'n_tokens_neox': 557, 'n_words': 173}